<template>
    <view class="item" @click="$emit('click')">
        <view class="label">{{ label }}：</view>
        <view class="value">{{ value }}</view>
    </view>
</template>
<script>
export default {
    props: {
        label: String,
        value: String,
    }
}
</script>

<style lang="scss">
.item {
    display: flex;
    font-size: 24rpx;
    color: #888888;
    font-weight: 400;
    .label {
        width: 120rpx;
    }
    .value {
        flex: 1;
        // overflow: hidden;
        // white-space: nowrap;
        // text-overflow: ellipsis;
    }
}
</style>